<template>
  <div id="home">
    <header>
      <Navber />
    </header>
    <div class="Rotation">
      <Rotation />
    </div>
    <main></main>
    <footer>
      <bottom-nav></bottom-nav>
    </footer>
  </div>
</template>

<script>
import Navber from "../components/common/Header.vue";
import BottomNav from "../components/common/Footer.vue";
import Rotation from "../components/common/Rotation.vue";

export default {
  name: "app",
  components: {
    Navber,
    BottomNav,
    Rotation,
  },
};
</script>
<style lang="scss">
// 所有元素去掉内外边距
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #01010144;
}
.Rotation {
  margin-top: 82px; /* 上下内边距90px */
}
main {
  background-color: #dedfe1;
  height: 490px;
  width: 70%; /*宽度70%*/
  margin: 10px auto;
}
</style>
